<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 	<meta charset="utf-8">
    <meta http-equiv="Content-Type" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>信息修改</title>

</head>
<body>

	<div class="container-fluid">
		<div class="row">
		
			<div class=" col-sm-4 col-xs-12 " >
			<div class="panel panel-info ">
				<div class="panel-heading">
					<h3 class="panel-title">修改密码</h3>
				</div>
				<div class="panel-body">



						<label >原始密码</label> 
						<input class="form-control" id="oldpass" name="oldpass" autofocus/>
						<label style="margin-top: 10px;">新密码</label>
						<input class="form-control" id="newpass1" name="newpass1" type="password" />
						<label style="margin-top: 10px;">确认密码</label>
						<input class="form-control" id="newpass2" name="newpass2" type="password"  />

						<button class="btn  btn-info btn-block" style="margin-top: 20px;" onclick="modifyPass()">确定修改</button>

				</div>
			</div>
			</div>

			<!--昵称修改  -->
			<div class=" col-sm-4 col-xs-12 " >
			<div class="panel panel-success ">
				<div class="panel-heading">
					<h3 class="panel-title">修改昵称</h3>
				</div>
				<div class="panel-body">


						<label >新昵称</label>
						<input class="form-control" name="nickname"  id="nickname" required/>

						<button class="btn  btn-success btn-block" style="margin-top: 20px;"
						onclick="change_nickname()">确定修改</button>

				</div>
			</div>

			</div>
			
			<!--修改头像 -->
			<div class=" col-sm-4 col-xs-12 " >
			<div class="panel panel-warning ">
				<div class="panel-heading">
					<h3 class="panel-title">修改头像</h3>
				</div>
				<div class="panel-body">

					<label >点击图片即可修改</label><br>

					<img id="headPic" src="/market/images/image.png"  width="150px" height="150px" style="padding: 5px">
					<input id="upload" name="upload" accept="image/*" type="file" style="display: none" required/>

					<button id="submit_btn" class="btn  btn-warning btn-block" style="margin-top: 20px;"
							type="submit">确定修改</button>


				</div>
			</div>
			</div>
		</div>

	</div>

</body>
</html>